package com.vrms.app.service;

import com.vrms.app.entity.Doctor;

import java.util.List;

public interface DoctorService {
    List<Doctor> listPage(int page,
                          int size,
                          String username);
    int count(String username);

    boolean save(Doctor doctor);

    boolean update(Doctor doctor);

    boolean remove(int id);

    List<Doctor> list();
}
